﻿using System;
using System.Net;
using Microsoft.Xna.Framework;

namespace Babylon.Animations
{
    public class MatrixAnimationUsingKeyFrames : AnimationUsingKeyFrameBase<Matrix>, IMatrixAnimation
    {
        protected override Matrix Interpolate(Matrix first, Matrix second, float amount)
        {
            return Matrix.Lerp(first, second, amount);
        }

    }
}
